Jupyter notebook中使用R语言内核

install.packages('IRkernel')
IRkernel::installspec()

打开或刷新notebook就可以看到基于R内核的notebook了